<script setup>
import { useCounterStore } from '@/store/counter';
import CHtml from '@/components/C.vue';
const useStore = useCounterStore();
</script>

<template>
  <div>
    <div>pinia: {{ useStore.count }}</div>
    <button @click="useStore.increment">add</button>
    <c-html />
  </div>
</template>